package com.wsz.dao;

import static org.junit.jupiter.api.Assertions.*;

/**
 * @author icatw
 * @date 2022/4/6
 * @email 762188827@qq.com
 * @apiNote
 */
class BookDaoTest {

    @org.junit.jupiter.api.Test
    void decreaseStock() {
        BookDao bookDao = new BookDao();
        bookDao.decreaseStock(1);
    }

    @org.junit.jupiter.api.Test
    void testQueryStock() {
        BookDao bookDao = new BookDao();
        boolean b = bookDao.queryStock(1);
        System.out.println("结果"+b);
    }
}
